package com.yanfan.energy.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * 设备开关机增量记录表 (DeviceThingsEnergy)实体类
 *
 * @author makejava
 * @since 2023-08-03 09:25:37
 */
public class DeviceThingsEnergy implements Serializable {
    private static final long serialVersionUID = -81114755398844844L;
    /**
     * 主键
     */
    private Integer id;
    /**
     * 设备id
     */
    private Integer deviceId;
    /**
     * 设备编号
     */
    private String deviceNum;
    /**
     * 设备模型id
     */
    private Long thingsModelId;
    /**
     * 能源类型
     */
    private Long energyType;
    /**
     * 创建人
     */
    private String createdBy;
    /**
     * 创建时间
     */
    private Date createdDate;
    /**
     * 修改时间
     */
    private Date lastModifiedDate;

    /**
     * 设备名称
     *
     * @author caijinkang
     * @date 2023/8/4 11:02
     * @param null
     * @return null
     */
    private String deviceName;

    /**
     * 所属地址
     *
     * @author caijinkang
     * @date 2023/8/4 11:03
     * @param null
     * @return null
     */
    private String location;

    /**
     * 所属区域
     *
     * @author caijinkang
     * @date 2023/8/4 11:03
     * @param null
     * @return null
     */
    private String district;

    /**
     * 能源类型名称
     *
     * @author caijinkang
     * @date 2023/8/4 11:08
     * @param null
     * @return null
     */
    private String energyTypeName;

    /**
     * 物模型名称
     *
     * @author caijinkang
     * @date 2023/8/4 11:19
     * @param null
     * @return null
     */
    private String thingsName;

    /**
     * 车间id
     *
     * @author caijinkang
     * @date 2023/8/11 10:47
     * @param null
     * @return null
     */
    private Integer workshopId;


    public DeviceThingsEnergy() {
    }

    public DeviceThingsEnergy(Integer id, Integer deviceId, String deviceNum, Long thingsModelId, Long energyType, String createdBy, Date createdDate, Date lastModifiedDate, String deviceName, String location, String district, String energyTypeName, String thingsName, Integer workshopId) {
        this.id = id;
        this.deviceId = deviceId;
        this.deviceNum = deviceNum;
        this.thingsModelId = thingsModelId;
        this.energyType = energyType;
        this.createdBy = createdBy;
        this.createdDate = createdDate;
        this.lastModifiedDate = lastModifiedDate;
        this.deviceName = deviceName;
        this.location = location;
        this.district = district;
        this.energyTypeName = energyTypeName;
        this.thingsName = thingsName;
        this.workshopId = workshopId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }

    public String getDeviceNum() {
        return deviceNum;
    }

    public void setDeviceNum(String deviceNum) {
        this.deviceNum = deviceNum;
    }

    public Long getThingsModelId() {
        return thingsModelId;
    }

    public void setThingsModelId(Long thingsModelId) {
        this.thingsModelId = thingsModelId;
    }

    public Long getEnergyType() {
        return energyType;
    }

    public void setEnergyType(Long energyType) {
        this.energyType = energyType;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public Date getLastModifiedDate() {
        return lastModifiedDate;
    }

    public void setLastModifiedDate(Date lastModifiedDate) {
        this.lastModifiedDate = lastModifiedDate;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getEnergyTypeName() {
        return energyTypeName;
    }

    public void setEnergyTypeName(String energyTypeName) {
        this.energyTypeName = energyTypeName;
    }

    public String getThingsName() {
        return thingsName;
    }

    public void setThingsName(String thingsName) {
        this.thingsName = thingsName;
    }

    public Integer getWorkshopId() {
        return workshopId;
    }

    public void setWorkshopId(Integer workshopId) {
        this.workshopId = workshopId;
    }

    @Override
    public String toString() {
        return "DeviceThingsEnergy{" + "id=" + id + ", deviceId=" + deviceId + ", deviceNum='" + deviceNum + '\'' + ", thingsModelId=" + thingsModelId + ", energyType=" + energyType + ", createdBy='" + createdBy + '\'' + ", createdDate=" + createdDate + ", lastModifiedDate=" + lastModifiedDate + ", deviceName='" + deviceName + '\'' + ", location='" + location + '\'' + ", district='" + district + '\'' + ", energyTypeName='" + energyTypeName + '\'' + ", thingsName='" + thingsName + '\'' + ", workshopId=" + workshopId + '}';
    }
}

